home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 101-125 / scopedisk118 / cosmicquest / berserker.c < prev    next >
Text File  |  1995-03-19  |  534b  |  15 lines

  1. berserker(pla)
  2. int pla;
  3.   {
  4.   struct NCommand c;
  5.   int i;
  6.   c.com=DECLARE;
  7.   c.par[1]=WAR;
  8.   for(c.par[0]=0;c.par[0]<PLAYERNO;c.par[0]++) if(general.relation[pla][c.par[0]]!=WAR && pla!=c.par[0]) do_command(pla,&c);
  9.   /* Only mini routine programmed */
  10.   /* Fully implemented in the rest of the code and only waiting to be programmed */
  11.   /* with any interesting strategical idea */
  12.   /* (This core routine and reading Fred Saberhagens Berserker books should give */
  13.   /* you an idea of their 'strategy'(yet to be programmed) )*/
  14.   }
  15.